<?php // display error message ?>
<div class="error">
<?php 
if ($t['comments_allowed'] === FALSE) {
    echo 'Comments are disabled.';
} else {
    echo 'Error just happened.';
}
?>
</div>

<div class="comment-form form" id="comment_form">
<?php
if ($t['comments_allowed'] !== FALSE) {
    require_once 'CommentFormSuccess.php';
}
?>
</div>